part of 'tools_cubit.dart';

abstract class ToolsState {}

class ToolsInitial extends ToolsState {}

class ToolsLoading extends ToolsState {}

class ToolsError extends ToolsState {}

class ToolsDone extends ToolsState {}

class ToolsUpdate extends ToolsState {}

class SelectModeUpdate extends ToolsState {
  final bool mode;
  final ToolModel? tool;
  SelectModeUpdate({required this.mode,this.tool});
}

class SelectTool extends ToolsState {
  final ToolModel tool;
  final bool isSelected;
  SelectTool({required this.tool,required this.isSelected});
}


class AddToolToExerciseLoading extends ToolsState {
  final ToolModel tool;
  AddToolToExerciseLoading({required this.tool});
}

class AddToolToExerciseError extends ToolsState {
  final ToolModel tool;
  final String massage;
  final int stateCode;
  AddToolToExerciseError({required this.tool,required this.massage,required this.stateCode});
}

class AddToolToExerciseDone extends ToolsState {
  final ToolModel tool;
  AddToolToExerciseDone({required this.tool});
}
